package com.hmkj.core.po.holiday;

import com.hmkj.common.baseMapper.GenericPo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Table;
import java.util.function.Consumer;


/**
 * 节假日实体信息<br>
 *
 * @author eproo
 * @date   2018-07-10 04:27:40
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "节假日")
@Table(name = "s_holiday")
public class Holiday extends GenericPo<Integer> {

    public static final String TABLE_NAME = "s_holiday";

	
	/**节假日日期**/
	@ApiModelProperty(value = "节假日日期")
	private String holiday;
	/**备注**/
	@ApiModelProperty(value = "备注")
	private String remark;

    public Holiday(){}

    public Holiday(Consumer<Holiday> consumer){
    consumer.accept(this);
    }
}

